package com.gzhuxj201.service;

import com.gzhuxj201.entity.PageBean;
import com.gzhuxj201.entity.Teacher;

import java.util.List;

public interface TeacherService {
    PageBean page(int page, int pageSize,String tno, String username, Short gender);

    void add(Teacher teacher);

    Teacher selectById(Integer tno);

    void update(Teacher teacher);

    int deleteByIds(List<Integer> ids);

    Teacher login(String username, String password);

    Teacher selectByUsername(String username);
}
